package com.by.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("管理员视图类")
@NoArgsConstructor
@AllArgsConstructor
public class AdminVO {

    @ApiModelProperty("管理员id, 非空自增")
    private Integer id;

    @ApiModelProperty("是否是超级管理员 0-false 1-true")
    private Integer root;

    @ApiModelProperty("管理员账号")
    private String account;

    @ApiModelProperty("管理员姓名")
    private String name;

    @ApiModelProperty("联系方式")
    private String mobile;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("底薪")
    private Double basicSalary;

    @ApiModelProperty("生日")
    private String birthday;

    @ApiModelProperty("入职时间")
    private String entryTime;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("年度业绩目标")
    private Double annualPerformanceTarget;

    @ApiModelProperty("已完成业绩")
    private Double completedPerformance;

    @ApiModelProperty("产品参数支持: 1-需要审核 0-无需审核")
    private Integer productParameterSupport;


    @ApiModelProperty("是否支持多处登录 1-是 0-否")
    private Integer multipointLogin;

    @ApiModelProperty("是否禁用 0-否 1-是")
    private Integer disable;

}
